package com.cfets.annualAssessment.entity;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.OrderBy;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by liusonglin on 2016/11/21.
 */
@Data
@Table(name = "t_attribute")
public class Attribute extends BaseEntity {
    @NotEmpty(message = "名称不能为空")
    private String value;

    private int type;//类型,1,高校,2,部门,3,职务

    @OrderBy("desc")
    private String postTime;
}
